package com.msh.starter.ip.analysis.instance;

import com.msh.starter.ip.analysis.inteface.IIpCountry;
import com.msh.starter.ip.analysis.model.IpLocation;
import com.msh.starter.ip.analysis.utils.Ip2regionUtils;

public class Ip2regionIpCountry implements IIpCountry {

    @Override
    public IpLocation ipCountry(String ip) {
        return Ip2regionUtils.getLocation(ip);
    }
}
